package com.zsk.shop.enums;

/**
 * -1正常用户 0 游客 1其他
 */
public enum EnumUserType {
    USER("正常用户", -1),
    TOURIST("游客", 0),
    OTHER("其他", 1);

    String name;
    Integer code;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    EnumUserType(String name, Integer code) {
        this.name = name;
        this.code = code;
    }
}
